//
//  BaseClassCollectionViewCell.m
//  FAKER
//
//  Created by Jianwei on 15/11/3.
//  Copyright © 2015年 YHLai. All rights reserved.
//

#import "BaseClassCollectionViewCell.h"

@implementation BaseClassCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
//        CONTENT_VIEW.backgroundColor = [UIColor whiteColor];
        [self changeColor];
        ADD_NSNOTIFICATIONCENTER_OBSERVER;
    }
    return self;
}

#pragma mark 改变颜色
- (void)changeColor
{
    if (NSUSERDEFAULTS_NIGHT) {
        self.backgroundColor = BGCOLOR_LIGHTBLACK;
        self.contentView.backgroundColor = BGCOLOR_LIGHTBLACK;
    } else {
        self.backgroundColor = BGCOLOR_WHITE;
        self.contentView.backgroundColor = BGCOLOR_WHITE;
    }
}

- (void)createItem
{
    
}
@end
